package com.naiterui.ehp.bs.pharmacist.repository.mysql;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.pharmacist.entity.PharmacistMedicationRecomDetail;

import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description 处方详情
 * @Author gongbaoqiang
 * @Date 2019/12/5 1:28 PM
 */
@Repository
public interface MedicationRecomDetailRepository extends BaseJpaRepository<PharmacistMedicationRecomDetail, Long> {

    /**
     * <pre>
     *     处方药品详情
     * </pre>
     *
     * @param recommendId
     *
     * @return
     */
    List<PharmacistMedicationRecomDetail> findByRecommendId(Long recommendId);
}
